package cn.oracle.eshop.auth.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**角色和权限关系管理模块的mapper组件
 * @author wyh
 * @ClassName RolePriorityRelationshipMapper
 * @date 2022/1/22 /18:03
 */
@Mapper
public interface RolePriorityRelationshipMapper {
    /***
     * 根据权限iD查询记录数
     * @author wyh
     * @date 2022/1/22
     * @param priorityId 权限ID
     * @return java.lang.Long 记录数
     */

    Long getCountByPriorityId(Long priorityId) ;
}
